xl: If domain creation fails, destroy the domain
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 6 May 2010 14:55:31 +0000 (15:55 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 6 May 2010 14:55:31 +0000 (15:55 +0100)
commit68f722c8090dd29e20715b8c7ee1fc095d5bf736
tree864242c6e4468a4c9bca6f0eed078e414ff5e5ae
parentb30f8e7bbe0c466cd1989edabdb382f80d2c014f
xl: If domain creation fails, destroy the domain

This patch makes sure that if the domain creation fails for any
reason, no zombie domains are left around.

Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/xl_cmdimpl.c